package org.apache.rocketmq.client.java.clientapis.message;


public interface MessageBuilder {

    MessageBuilder setTopic(String topic);

    MessageBuilder setBody(byte[] body);

    MessageBuilder setTag(String tag);

    MessageBuilder setKeys(String... keys);

    MessageBuilder setMessageGroup(String messageGroup);

    MessageBuilder setTraceContext(String traceContext);

    MessageBuilder setDeliveryTimestamp(long deliveryTimestamp);

    MessageBuilder addProperty(String key, String value);

    Message build();
}
